// 获取用户权限
export const checkRoles = (roles) => {
    return roles.some(role => localStorage.roles.includes(role));
}